using System.Diagnostics;

namespace JamesFan.FetchAreaCodes.Cli;

internal static class CliVersion {
    public static string GetVersion() {
        var assembly = typeof(CliVersion).Assembly;
        return FileVersionInfo.GetVersionInfo(assembly.Location).ProductVersion ?? "0.0.0";
    }
}
